package cn.iocoder.yudao.module.trade.controller.admin.storeusers.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import java.util.*;

@Schema(description = "管理后台 - 店铺账号新增/修改 Request VO")
@Data
public class StoreUsersSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "28773")
    private Long id;

    @Schema(description = "店铺ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "16212")
    @NotNull(message = "店铺ID不能为空")
    private Long storeId;

    @Schema(description = "登录账号", example = "张三")
//    @NotEmpty(message = "登录账号不能为空")
    private String username;

    @Schema(description = "密码")
    private String password;

    @Schema(description = "员工姓名", example = "张三")
    private String nickname;

    @Schema(description = "手机号")
    @NotEmpty(message = "手机号不能为空")
    private String mobile;

    @Schema(description = "角色(1:店长;2:店员)", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "角色(1:店长;2:店员)不能为空")
    private Integer role;

    @Schema(description = "状态(0:已禁用;1:已启用)", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
//    @NotNull(message = "状态(0:已禁用;1:已启用)不能为空")
    private Boolean status;

}